<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/statics/css/sapar.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath }/statics/css/common.css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath }/statics/css/my_order.css" />
<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/jquery.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/sapar.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/statics/js/WdatePicker.js"></script>
<title>结算维修单</title>
</head>

<body>
	<div id="saper-container">
		<div id="saper-hd"></div>
		<div id="saper-bd">
			<div class="subfiled clearfix">
				<h2>结算维修单</h2>
			</div>
			<div class="subfiled-content">
				<form name="f1" id="f1"
					action="?m=system&amp;c=myInfo&amp;a=updateInfo&amp;type=1"
					method="post">
					<div class="search-box clearfix">
						<div class="kv-item clearfix">
							<label>订单号：</label>
							<div class="kv-item-content">
								<input type="text" placeholder="订单号"/>
							</div>
						</div>
						<div class="kv-item clearfix">
							<label>所属店铺：</label>
							<div class="kv-item-content">
								<input type="text" placeholder="所属店铺"/>
							</div>
						</div>
						<div class="kv-item clearfix">
							<label>送修品牌：</label>
							<div class="kv-item-content">
								<input type="text" placeholder="送修品牌"/>
							</div>
						</div>
						<div class="kv-item clearfix">
							<label>创建日期：</label>
							<div class="kv-item-content time-select-wrap">
								<div class="time-select">
									<input type="text"
										onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="" />
									<i class="date-icon"></i>
								</div>
								<span class="line">-</span>
								<div class="time-select">
									<input type="text"
										onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="" />
									<i class="date-icon"></i>
								</div>
							</div>
						</div>
						<a href="javascript:;" class="sapar-btn sapar-btn-recom query-btn">查询</a>
					</div>
				</form>
				<!--表格开始-->
				<div class="table">

					<!--表格具体内容-->
					<div class="table-box">
						<table>
							<thead>
								<tr>
									<th width="20px" height="20px"><input type="checkbox"
										onchange="allCheck" /></th>
									<th>序号</th>
									<th>订单号</th>
									<th>客户姓名</th>
									<th>联系电话</th>
									<th>品牌</th>
									<th>颜色</th>
									<th>维修人</th>
									<th>维修费用</th>
									<th>维修状态</th>
									<th>付款状态</th>
									<th>付款方式</th>
									<th>接单人</th>
									<th>是否审核</th>
									<th>所属店铺</th>
									<th>状态</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td width="20px" height="20px"><input type="checkbox"
										name="idbox" id="idbox" value="${lists.order_id}" /></td>
									<td>1</td>
									<td><a
										href="${pageContext.request.contextPath }/printer.do">2010309134323</a></td>
									<td>于小沫</td>
									<td>13589344332</td>
									<td>OPPO</td>
									<td>红色</td>
									<td>1</td>
									<td>255</td>
									<td>已维修</td>
									<td>已付款</td>
									<td>微信</td>
									<td>曹斯</td>
									<td>已审核</td>
									<td>好易修</td>
									<td>启用</td>
									<td><a href="#">修改</a></td>
								</tr>
								<c:forEach items="${ordersList}" var="lists" varStatus="sta">
									<tr ${sta.index%2!=0?'style="background-color: #EFF6FA;"':''}>
										<td width="20px" height="20px"><input type="checkbox"
											name="idbox" id="idbox" value="${lists.order_id}" /></td>
										<td>${sta.index+1}</td>
										<td><a
											href="${pageContext.request.contextPath }/printer.do">${lists.order_id}</a></td>
										<td>${lists.customer_name}</td>
										<td>${lists.customer_telephone}</td>
										<td>${lists.productfaulttype_id}</td>
										<td>${lists.product_color}</td>
										<td>${lists.order_repaier}</td>
										<td>${lists.order_paymoney}</td>
										<td>未维修</td>
										<td>未付款</td>
										<td>${lists.pay_type}</td>
										<td>${lists.user_id}</td>
										<td><c:if test="${lists.isCheck eq 0}">未检测</c:if> <c:if
												test="${lists.isCheck eq 1}">已检测</c:if></td>
										<td>${lists.store_id}</td>
										<td><c:if test="${lists.order_status eq 0}">启用</c:if> <c:if
												test="${lists.order_status eq 1}">禁用</c:if></td>
										<td><a
											href="${pageContext.request.contextPath }/getOrdersId.do?order_id=${lists.order_id}">修改</a>
											<%-- <a
														href="${pageContext.request.contextPath }/deleteOrder.do?order_id=${lists.order_id}">删除</a> --%></td>
									</tr>
								</c:forEach>
							</tbody>
						</table>
					</div>
				</div>
				<!--表格结束-->
			</div>
		</div>
		<div id="saper-ft"></div>
	</div>

</body>

<script type="text/javascript">
	$('select').iSelect();
</script>

</html>